
client:     file format elf64-littleaarch64


Disassembly of section .init:

0000000000400778 <_init>:
  400778:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  40077c:	910003fd 	mov	x29, sp
  400780:	9400005a 	bl	4008e8 <call_weak_fn>
  400784:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400788:	d65f03c0 	ret

Disassembly of section .plt:

0000000000400790 <.plt>:
  400790:	a9bf7bf0 	stp	x16, x30, [sp, #-16]!
  400794:	90000090 	adrp	x16, 410000 <__FRAME_END__+0xf3b8>
  400798:	f947fe11 	ldr	x17, [x16, #4088]
  40079c:	913fe210 	add	x16, x16, #0xff8
  4007a0:	d61f0220 	br	x17
  4007a4:	d503201f 	nop
  4007a8:	d503201f 	nop
  4007ac:	d503201f 	nop

00000000004007b0 <exit@plt>:
  4007b0:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  4007b4:	f9400211 	ldr	x17, [x16]
  4007b8:	91000210 	add	x16, x16, #0x0
  4007bc:	d61f0220 	br	x17

00000000004007c0 <perror@plt>:
  4007c0:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  4007c4:	f9400611 	ldr	x17, [x16, #8]
  4007c8:	91002210 	add	x16, x16, #0x8
  4007cc:	d61f0220 	br	x17

00000000004007d0 <atoi@plt>:
  4007d0:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  4007d4:	f9400a11 	ldr	x17, [x16, #16]
  4007d8:	91004210 	add	x16, x16, #0x10
  4007dc:	d61f0220 	br	x17

00000000004007e0 <__libc_start_main@plt>:
  4007e0:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  4007e4:	f9400e11 	ldr	x17, [x16, #24]
  4007e8:	91006210 	add	x16, x16, #0x18
  4007ec:	d61f0220 	br	x17

00000000004007f0 <memset@plt>:
  4007f0:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  4007f4:	f9401211 	ldr	x17, [x16, #32]
  4007f8:	91008210 	add	x16, x16, #0x20
  4007fc:	d61f0220 	br	x17

0000000000400800 <htons@plt>:
  400800:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400804:	f9401611 	ldr	x17, [x16, #40]
  400808:	9100a210 	add	x16, x16, #0x28
  40080c:	d61f0220 	br	x17

0000000000400810 <close@plt>:
  400810:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400814:	f9401a11 	ldr	x17, [x16, #48]
  400818:	9100c210 	add	x16, x16, #0x30
  40081c:	d61f0220 	br	x17

0000000000400820 <bzero@plt>:
  400820:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400824:	f9401e11 	ldr	x17, [x16, #56]
  400828:	9100e210 	add	x16, x16, #0x38
  40082c:	d61f0220 	br	x17

0000000000400830 <__gmon_start__@plt>:
  400830:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400834:	f9402211 	ldr	x17, [x16, #64]
  400838:	91010210 	add	x16, x16, #0x40
  40083c:	d61f0220 	br	x17

0000000000400840 <abort@plt>:
  400840:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400844:	f9402611 	ldr	x17, [x16, #72]
  400848:	91012210 	add	x16, x16, #0x48
  40084c:	d61f0220 	br	x17

0000000000400850 <connect@plt>:
  400850:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400854:	f9402a11 	ldr	x17, [x16, #80]
  400858:	91014210 	add	x16, x16, #0x50
  40085c:	d61f0220 	br	x17

0000000000400860 <socket@plt>:
  400860:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400864:	f9402e11 	ldr	x17, [x16, #88]
  400868:	91016210 	add	x16, x16, #0x58
  40086c:	d61f0220 	br	x17

0000000000400870 <read@plt>:
  400870:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400874:	f9403211 	ldr	x17, [x16, #96]
  400878:	91018210 	add	x16, x16, #0x60
  40087c:	d61f0220 	br	x17

0000000000400880 <printf@plt>:
  400880:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400884:	f9403611 	ldr	x17, [x16, #104]
  400888:	9101a210 	add	x16, x16, #0x68
  40088c:	d61f0220 	br	x17

0000000000400890 <gethostbyname@plt>:
  400890:	b0000090 	adrp	x16, 411000 <exit@GLIBC_2.17>
  400894:	f9403a11 	ldr	x17, [x16, #112]
  400898:	9101c210 	add	x16, x16, #0x70
  40089c:	d61f0220 	br	x17

Disassembly of section .text:

00000000004008a0 <_start>:
  4008a0:	d280001d 	mov	x29, #0x0                   	// #0
  4008a4:	d280001e 	mov	x30, #0x0                   	// #0
  4008a8:	aa0003e5 	mov	x5, x0
  4008ac:	f94003e1 	ldr	x1, [sp]
  4008b0:	910023e2 	add	x2, sp, #0x8
  4008b4:	910003e6 	mov	x6, sp
  4008b8:	580000c0 	ldr	x0, 4008d0 <_start+0x30>
  4008bc:	580000e3 	ldr	x3, 4008d8 <_start+0x38>
  4008c0:	58000104 	ldr	x4, 4008e0 <_start+0x40>
  4008c4:	97ffffc7 	bl	4007e0 <__libc_start_main@plt>
  4008c8:	97ffffde 	bl	400840 <abort@plt>
  4008cc:	00000000 	.inst	0x00000000 ; undefined
  4008d0:	0040099c 	.word	0x0040099c
  4008d4:	00000000 	.word	0x00000000
  4008d8:	00400b20 	.word	0x00400b20
  4008dc:	00000000 	.word	0x00000000
  4008e0:	00400ba0 	.word	0x00400ba0
  4008e4:	00000000 	.word	0x00000000

00000000004008e8 <call_weak_fn>:
  4008e8:	90000080 	adrp	x0, 410000 <__FRAME_END__+0xf3b8>
  4008ec:	f947f000 	ldr	x0, [x0, #4064]
  4008f0:	b4000040 	cbz	x0, 4008f8 <call_weak_fn+0x10>
  4008f4:	17ffffcf 	b	400830 <__gmon_start__@plt>
  4008f8:	d65f03c0 	ret
  4008fc:	00000000 	.inst	0x00000000 ; undefined

0000000000400900 <deregister_tm_clones>:
  400900:	b0000080 	adrp	x0, 411000 <exit@GLIBC_2.17>
  400904:	91022000 	add	x0, x0, #0x88
  400908:	b0000081 	adrp	x1, 411000 <exit@GLIBC_2.17>
  40090c:	91022021 	add	x1, x1, #0x88
  400910:	eb00003f 	cmp	x1, x0
  400914:	540000a0 	b.eq	400928 <deregister_tm_clones+0x28>  // b.none
  400918:	90000001 	adrp	x1, 400000 <_init-0x778>
  40091c:	f945e021 	ldr	x1, [x1, #3008]
  400920:	b4000041 	cbz	x1, 400928 <deregister_tm_clones+0x28>
  400924:	d61f0020 	br	x1
  400928:	d65f03c0 	ret
  40092c:	d503201f 	nop

0000000000400930 <register_tm_clones>:
  400930:	b0000080 	adrp	x0, 411000 <exit@GLIBC_2.17>
  400934:	91022000 	add	x0, x0, #0x88
  400938:	b0000081 	adrp	x1, 411000 <exit@GLIBC_2.17>
  40093c:	91022021 	add	x1, x1, #0x88
  400940:	cb000021 	sub	x1, x1, x0
  400944:	9343fc21 	asr	x1, x1, #3
  400948:	8b41fc21 	add	x1, x1, x1, lsr #63
  40094c:	9341fc21 	asr	x1, x1, #1
  400950:	b40000a1 	cbz	x1, 400964 <register_tm_clones+0x34>
  400954:	90000002 	adrp	x2, 400000 <_init-0x778>
  400958:	f945e442 	ldr	x2, [x2, #3016]
  40095c:	b4000042 	cbz	x2, 400964 <register_tm_clones+0x34>
  400960:	d61f0040 	br	x2
  400964:	d65f03c0 	ret

0000000000400968 <__do_global_dtors_aux>:
  400968:	a9be7bfd 	stp	x29, x30, [sp, #-32]!
  40096c:	910003fd 	mov	x29, sp
  400970:	f9000bf3 	str	x19, [sp, #16]
  400974:	b0000093 	adrp	x19, 411000 <exit@GLIBC_2.17>
  400978:	39422260 	ldrb	w0, [x19, #136]
  40097c:	35000080 	cbnz	w0, 40098c <__do_global_dtors_aux+0x24>
  400980:	97ffffe0 	bl	400900 <deregister_tm_clones>
  400984:	52800020 	mov	w0, #0x1                   	// #1
  400988:	39022260 	strb	w0, [x19, #136]
  40098c:	f9400bf3 	ldr	x19, [sp, #16]
  400990:	a8c27bfd 	ldp	x29, x30, [sp], #32
  400994:	d65f03c0 	ret

0000000000400998 <frame_dummy>:
  400998:	17ffffe6 	b	400930 <register_tm_clones>

000000000040099c <main>:
  40099c:	d11143ff 	sub	sp, sp, #0x450
  4009a0:	a9007bfd 	stp	x29, x30, [sp]
  4009a4:	910003fd 	mov	x29, sp
  4009a8:	b9001fa0 	str	w0, [x29, #28]
  4009ac:	f9000ba1 	str	x1, [x29, #16]
  4009b0:	9100e3a0 	add	x0, x29, #0x38
  4009b4:	d2808001 	mov	x1, #0x400                 	// #1024
  4009b8:	aa0103e2 	mov	x2, x1
  4009bc:	52800001 	mov	w1, #0x0                   	// #0
  4009c0:	97ffff8c 	bl	4007f0 <memset@plt>
  4009c4:	b9401fa0 	ldr	w0, [x29, #28]
  4009c8:	71000c1f 	cmp	w0, #0x3
  4009cc:	54000121 	b.ne	4009f0 <main+0x54>  // b.any
  4009d0:	f9400ba0 	ldr	x0, [x29, #16]
  4009d4:	91004000 	add	x0, x0, #0x10
  4009d8:	f9400000 	ldr	x0, [x0]
  4009dc:	97ffff7d 	bl	4007d0 <atoi@plt>
  4009e0:	b9044fa0 	str	w0, [x29, #1100]
  4009e4:	b9444fa0 	ldr	w0, [x29, #1100]
  4009e8:	7100001f 	cmp	w0, #0x0
  4009ec:	540000ca 	b.ge	400a04 <main+0x68>  // b.tcont
  4009f0:	90000000 	adrp	x0, 400000 <_init-0x778>
  4009f4:	912f4000 	add	x0, x0, #0xbd0
  4009f8:	97ffffa2 	bl	400880 <printf@plt>
  4009fc:	52800020 	mov	w0, #0x1                   	// #1
  400a00:	97ffff6c 	bl	4007b0 <exit@plt>
  400a04:	f9400ba0 	ldr	x0, [x29, #16]
  400a08:	91002000 	add	x0, x0, #0x8
  400a0c:	f9400000 	ldr	x0, [x0]
  400a10:	97ffffa0 	bl	400890 <gethostbyname@plt>
  400a14:	f90223a0 	str	x0, [x29, #1088]
  400a18:	f94223a0 	ldr	x0, [x29, #1088]
  400a1c:	f100001f 	cmp	x0, #0x0
  400a20:	540000c1 	b.ne	400a38 <main+0x9c>  // b.any
  400a24:	90000000 	adrp	x0, 400000 <_init-0x778>
  400a28:	912fc000 	add	x0, x0, #0xbf0
  400a2c:	97ffff65 	bl	4007c0 <perror@plt>
  400a30:	52800020 	mov	w0, #0x1                   	// #1
  400a34:	97ffff5f 	bl	4007b0 <exit@plt>
  400a38:	52800002 	mov	w2, #0x0                   	// #0
  400a3c:	52800021 	mov	w1, #0x1                   	// #1
  400a40:	52800040 	mov	w0, #0x2                   	// #2
  400a44:	97ffff87 	bl	400860 <socket@plt>
  400a48:	b9043fa0 	str	w0, [x29, #1084]
  400a4c:	b9443fa0 	ldr	w0, [x29, #1084]
  400a50:	3100041f 	cmn	w0, #0x1
  400a54:	540000c1 	b.ne	400a6c <main+0xd0>  // b.any
  400a58:	90000000 	adrp	x0, 400000 <_init-0x778>
  400a5c:	91302000 	add	x0, x0, #0xc08
  400a60:	97ffff58 	bl	4007c0 <perror@plt>
  400a64:	52800020 	mov	w0, #0x1                   	// #1
  400a68:	97ffff52 	bl	4007b0 <exit@plt>
  400a6c:	9100a3a0 	add	x0, x29, #0x28
  400a70:	d2800201 	mov	x1, #0x10                  	// #16
  400a74:	97ffff6b 	bl	400820 <bzero@plt>
  400a78:	52800040 	mov	w0, #0x2                   	// #2
  400a7c:	790053a0 	strh	w0, [x29, #40]
  400a80:	b9444fa0 	ldr	w0, [x29, #1100]
  400a84:	12003c00 	and	w0, w0, #0xffff
  400a88:	97ffff5e 	bl	400800 <htons@plt>
  400a8c:	12003c00 	and	w0, w0, #0xffff
  400a90:	790057a0 	strh	w0, [x29, #42]
  400a94:	f94223a0 	ldr	x0, [x29, #1088]
  400a98:	f9400c00 	ldr	x0, [x0, #24]
  400a9c:	f9400000 	ldr	x0, [x0]
  400aa0:	b9400000 	ldr	w0, [x0]
  400aa4:	b9002fa0 	str	w0, [x29, #44]
  400aa8:	9100a3a0 	add	x0, x29, #0x28
  400aac:	52800202 	mov	w2, #0x10                  	// #16
  400ab0:	aa0003e1 	mov	x1, x0
  400ab4:	b9443fa0 	ldr	w0, [x29, #1084]
  400ab8:	97ffff66 	bl	400850 <connect@plt>
  400abc:	3100041f 	cmn	w0, #0x1
  400ac0:	540000c1 	b.ne	400ad8 <main+0x13c>  // b.any
  400ac4:	90000000 	adrp	x0, 400000 <_init-0x778>
  400ac8:	91306000 	add	x0, x0, #0xc18
  400acc:	97ffff3d 	bl	4007c0 <perror@plt>
  400ad0:	52800020 	mov	w0, #0x1                   	// #1
  400ad4:	97ffff37 	bl	4007b0 <exit@plt>
  400ad8:	9100e3a0 	add	x0, x29, #0x38
  400adc:	d2808002 	mov	x2, #0x400                 	// #1024
  400ae0:	aa0003e1 	mov	x1, x0
  400ae4:	b9443fa0 	ldr	w0, [x29, #1084]
  400ae8:	97ffff62 	bl	400870 <read@plt>
  400aec:	b100041f 	cmn	x0, #0x1
  400af0:	54000081 	b.ne	400b00 <main+0x164>  // b.any
  400af4:	90000000 	adrp	x0, 400000 <_init-0x778>
  400af8:	9130a000 	add	x0, x0, #0xc28
  400afc:	97ffff31 	bl	4007c0 <perror@plt>
  400b00:	9100e3a1 	add	x1, x29, #0x38
  400b04:	90000000 	adrp	x0, 400000 <_init-0x778>
  400b08:	9130e000 	add	x0, x0, #0xc38
  400b0c:	97ffff5d 	bl	400880 <printf@plt>
  400b10:	b9443fa0 	ldr	w0, [x29, #1084]
  400b14:	97ffff3f 	bl	400810 <close@plt>
  400b18:	52800000 	mov	w0, #0x0                   	// #0
  400b1c:	97ffff25 	bl	4007b0 <exit@plt>

0000000000400b20 <__libc_csu_init>:
  400b20:	a9bc7bfd 	stp	x29, x30, [sp, #-64]!
  400b24:	910003fd 	mov	x29, sp
  400b28:	a901d7f4 	stp	x20, x21, [sp, #24]
  400b2c:	90000094 	adrp	x20, 410000 <__FRAME_END__+0xf3b8>
  400b30:	90000095 	adrp	x21, 410000 <__FRAME_END__+0xf3b8>
  400b34:	91374294 	add	x20, x20, #0xdd0
  400b38:	913722b5 	add	x21, x21, #0xdc8
  400b3c:	a902dff6 	stp	x22, x23, [sp, #40]
  400b40:	cb150294 	sub	x20, x20, x21
  400b44:	f9001ff8 	str	x24, [sp, #56]
  400b48:	2a0003f6 	mov	w22, w0
  400b4c:	aa0103f7 	mov	x23, x1
  400b50:	9343fe94 	asr	x20, x20, #3
  400b54:	aa0203f8 	mov	x24, x2
  400b58:	97ffff08 	bl	400778 <_init>
  400b5c:	b4000194 	cbz	x20, 400b8c <__libc_csu_init+0x6c>
  400b60:	f9000bb3 	str	x19, [x29, #16]
  400b64:	d2800013 	mov	x19, #0x0                   	// #0
  400b68:	f8737aa3 	ldr	x3, [x21, x19, lsl #3]
  400b6c:	aa1803e2 	mov	x2, x24
  400b70:	aa1703e1 	mov	x1, x23
  400b74:	2a1603e0 	mov	w0, w22
  400b78:	91000673 	add	x19, x19, #0x1
  400b7c:	d63f0060 	blr	x3
  400b80:	eb13029f 	cmp	x20, x19
  400b84:	54ffff21 	b.ne	400b68 <__libc_csu_init+0x48>  // b.any
  400b88:	f9400bb3 	ldr	x19, [x29, #16]
  400b8c:	a941d7f4 	ldp	x20, x21, [sp, #24]
  400b90:	a942dff6 	ldp	x22, x23, [sp, #40]
  400b94:	f9401ff8 	ldr	x24, [sp, #56]
  400b98:	a8c47bfd 	ldp	x29, x30, [sp], #64
  400b9c:	d65f03c0 	ret

0000000000400ba0 <__libc_csu_fini>:
  400ba0:	d65f03c0 	ret

Disassembly of section .fini:

0000000000400ba4 <_fini>:
  400ba4:	a9bf7bfd 	stp	x29, x30, [sp, #-16]!
  400ba8:	910003fd 	mov	x29, sp
  400bac:	a8c17bfd 	ldp	x29, x30, [sp], #16
  400bb0:	d65f03c0 	ret
